/*
 * Copyright (c) Created by T C L on 2019.7.9.
 */

package cn.mumzone.pos.presenter.contract;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.basic.net.response.PageListResponse;
import cn.mumzone.pos.model.SalesTimesCard;

public interface SaleCardContract {
    interface View extends BaseView {
        void setSalesTimesCardData(PageListResponse<SalesTimesCard> timesCard);

        void appendSalesTimesCardData(PageListResponse<SalesTimesCard> timesCard);

        void dismissLoading();

        void onPaySuccess();
    }

    interface Presenter extends BasePresenter<View> {
        void getSaleTimeCardList(String pageNum, String pageSize, boolean isLoadMore);
    }
}
